package initial;

import java.util.ArrayList;

public class Park {
	public ArrayList<Dog> dogs;
	
	public Park(Dog dog1, Dog dog2, Dog dog3){
		dogs = new ArrayList<Dog>();
		dogs.add(dog1);
		dogs.add(dog2);
		dogs.add(dog3);
	}
	
	public double getSnoutLength(){
		int blurp = 0;
		for(Dog doggy: dogs){
			blurp += doggy.getSnoutLength();
			
		}
		double average = blurp/(double)dogs.size();
		
		return average;
	}
}
